package com.example.management;

import java.util.List;

public class ListLikeResult {


    /**
     * code : 200
     * data : [{"id":4,"name":"粘胶短纤","type":"化纤纤维","supplierId":2},{"id":5,"name":"纯棉纱","type":"纱线类","supplierId":2}]
     */

    private int code;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 4
         * name : 粘胶短纤
         * type : 化纤纤维
         * supplierId : 2
         */

        private int id;
        private String name;
        private String type;
        private int supplierId;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getSupplierId() {
            return supplierId;
        }

        public void setSupplierId(int supplierId) {
            this.supplierId = supplierId;
        }
    }
}
